package the.broccoli.uc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

/**
 * <p>
 * 租户与应用
 * </p>
 *
 * @author lei.liu
 * @since 2020-04-17
 */
@Data
@TableName("uc_tenant_app")
public class TenantApp extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(value = "tenant_app_id", type = IdType.AUTO)
    private Integer tenantAppId;

    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private Integer tenantId;

    /**
     * 应用ID
     */
    @TableField("app_id")
    private Integer appId;

}
